import {service} from "@/config/request.js";
 
 
export function listBySkuId(query) {
	return service({
		path: '/pigx-mall/app/shoppingCar/listBySkuId',
		method: 'post',
		params: query,
	});
} 
 
 // 新增订单
 export function addOrder(query) {
 	return service({
 		path: '/pigx-mall/app/mallProduct/addOrder',
 		method: 'put',
 		params: query,
 	});
 } 
 export function mallProductPage(query) {
 	return service({
 		path: '/pigx-mall/app/mallProduct/page',
 		method: 'get',
 		params: query,
 	});
 }  


  export function addOrder1(query) {
	return service({
		path: '/customer/jcCustomAccount/orderByCustomId/' + query,
		method: 'get'
	});
} 